package com.loong.shop;

import org.apache.dubbo.config.spring.context.annotation.DubboComponentScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.scheduling.annotation.EnableAsync;
import tk.mybatis.spring.annotation.MapperScan;

/**
 * @Description:
 * @Author: 刘群
 * @Date: 2020/10/26 17:25
 */
@EnableAsync(proxyTargetClass = true)
@EnableDiscoveryClient
@DubboComponentScan("com.loong.shop.service")
@MapperScan(value = {"com.loong.shop.mapper"})
@EnableFeignClients
@SpringBootApplication(scanBasePackages = {"com.loong.common", "com.loong.shop"})
public class ShopApplication {
    public static void main(String[] args) {
        SpringApplication.run(ShopApplication.class,args);
    }
}
